﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace GrayParrot.Web.Formly
{
    public class GrayParrotFileUploadOptionsAttribute : TemplateOptionsAttribute
    {
        /// <summary>
        /// Gets or sets the folder where copy the file on server...
        /// </summary>
        /// <value>
        /// The folder.
        /// </value>
        [JsonProperty(PropertyName = "folder", Required = Newtonsoft.Json.Required.Always)]
        public string Folder { get; set; }

        [JsonProperty(PropertyName = "files", Required = Newtonsoft.Json.Required.Always)]
        public string[] Files { get; set; }

        public GrayParrotFileUploadOptionsAttribute()
        {
                
        }
    }
}
